var nodeList = document.querySelectorAll('ul li');
var list = [].slice.call(nodeList);
list[0].addEventListener('click', function (e) {
    console.log(e.target.style.left);
});
